package Class;

// 活期存款类
public class DemandRate {
    double demandDepositRate = 0.001;
    public DemandRate(){
    }
    public double getDemandInterest (double money, long day){
        double interest = money * day / 365 * demandDepositRate;
        return interest;
    }
    public String getDepositType() {
        return "活期存款";
    }
    public double getDemandRate() {
        return this.demandDepositRate;
    }
//    public String showDemandDepositMessage(double money){
//        return null;
//    }
}
